<me:UIVERSART x:Class="WPFExcelReport.TVL03"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                     xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"   
                    x:Name="TV"
                    FontSize="18"
                    Loaded="Window_Loaded"
     >
    <me:UIVERSART.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:NOTConverter  x:Key="not"/>
    </me:UIVERSART.Resources>
      <StackPanel  >
            <WrapPanel> 
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition> 
                    </Grid.ColumnDefinitions>
                    <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=供应商:}}"></TextBlock>
                    <TextBlock  Grid.Column="1" Text="{Binding VLIEFNR,Source={StaticResource vwMaster}}"    Width="100" />
                </Grid>
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=运输方式:}}"></TextBlock>
                    <ex:TXT72 IsAutoClear="false" Text="{Binding VVERSART, Converter={StaticResource gb2312},Source={StaticResource vwMaster}}" 
                              IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  Grid.Column="1"  MaxLength="3"  CharacterCasing="Upper"  
                                    MinWidth="60" Width="Auto" />
                </Grid>
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=承运ID:}}"></TextBlock>
                    <ex:TXT72  Grid.Column="1"  Text="{Binding VSPED, Converter={StaticResource gb2312},Source={StaticResource vwMaster}}" IsAutoClear="false"  IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"  
                                     MaxLength="3"  CharacterCasing="Upper"   MinWidth="60" Width="Auto" />

                </Grid>
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=承运人:}}"></TextBlock>
                    <ex:TXT72  Grid.Column="1"  Text="{Binding VBEZ, Converter={StaticResource gb2312},Source={StaticResource vwMaster}}" IsAutoClear="false"  IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"  
                                     MaxLength="20"  CharacterCasing="Upper"   MinWidth="160" Width="Auto" /> 
                </Grid>
            </WrapPanel> 
            <WrapPanel>
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=联系人:}}"></TextBlock>
                    <ex:TXT72   IsAutoClear="false"  IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  MaxLength="20" Grid.Column="1" CharacterCasing="Upper"  
                                    Text="{Binding VDISP, Converter={StaticResource gb2312},Source={StaticResource vwMaster}}" MinWidth="100" Width="Auto" />
                </Grid>
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=电话:}}"></TextBlock>
                    <ex:TXT72   IsAutoClear="false"  IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"  MaxLength="20" Grid.Column="1" 
                                    CharacterCasing="Upper"  Text="{Binding VTEL,Source={StaticResource vwMaster}}" MinWidth="80" Width="Auto" />
                </Grid> 
            </WrapPanel>
            <WrapPanel>
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=邮件:}}"></TextBlock>
                    <ex:TXT72  IsAutoClear="false" Text="{Binding VURL, Converter={StaticResource gb2312},Source={StaticResource vwMaster}}" 
                                   IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"  MaxLength="175" Grid.Column="1"  
                                   CharacterCasing="Upper"  MinWidth="280" Width="Auto" />
                </Grid>
            </WrapPanel>
        </StackPanel>  
</me:UIVERSART>
